package org.gourpg.entity.permission;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 权限角色关系实体
 */
@Data
@Entity
@Table(name = "permission_role_rel")
public class PermissionRoleRel {

    @Id
    private Long id;
    /**
     * 权限ID，权限的主键
     */
    private Long powerId;

    /**
     * 角色ID，角色的主键
     */
    private Long roleId;


}
